package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 产品
 *
 * @author Yancy
 * @since 2024-04-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_application_version")
@ApiModel(value = "SysApplicationVersion对象", description = "产品")
public class SysApplicationVersion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("应用ID")
    @TableField("application_id")
    private Long applicationId;

    @ApiModelProperty(value = "文件ID", required = true)
    @TableField("file_id")
    private Long fileId;

    @ApiModelProperty("版本号")
    @TableField("version_number")
    private Integer versionNumber;

    @ApiModelProperty("版本名称")
    @TableField("version_name")
    private String versionName;

    @ApiModelProperty("更新内容")
    @TableField("release_notes")
    private String releaseNotes;

    @ApiModelProperty("是否强制更新")
    @TableField("must")
    private Boolean must;


    public static final String APPLICATION_ID = "application_id";

    public static final String FILE_ID = "file_id";

    public static final String VERSION_NUMBER = "version_number";

    public static final String RELEASE_NOTES = "release_notes";

    public static final String MUST = "must";

}
